package com.delu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("site_car")
public class SiteCar implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long carId;

    private Integer carType;

    private Integer brandId;

    private Integer seriesId;

    private Integer rentAble;

    private BigDecimal rentPrice;

    private Integer bookAble;

    private BigDecimal purchasePrice;

    private Date dateProduction;

    private String carNumber;

    private String carImg;

    private String carDesc;

    private Integer ableFreeRide;

    private Long siteId;

    private BigDecimal carDeposit;

    private Long returnSiteId;

    private Integer leaseId;

    private BigDecimal outTimeMoney;

    private String configuration;

    private BigDecimal prepayPrice;

    private BigDecimal holidaysRentPrice;

    private BigDecimal nonperformance;

    private String classno;

    private String engineno;
}
